<template>
  <div class="gonglue banxin flex">
    <div class="item">
      <h4>购课得鸡腿</h4>
      <div class="btn">去签到</div>
    </div>
    <div class="item">
      <h4>购课得鸡腿</h4>
      <div class="btn">去购课</div>
    </div>
    <div class="item">
      <h4>推荐得鸡腿</h4>
      <div class="btn">推荐</div>
    </div>
    <div class="item">
      <h4>做任务得鸡腿</h4>
      <div class="btn">做任务</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.gonglue {
  justify-content: space-between;
  .item {
    width: 285px;
    height: 168px;
    color: #fff;
    cursor: pointer;
    background-size: 100%;
    transition: 0.7s;
    margin-bottom: 50px;
    &:hover {
      background-size: 105%;
    }
    h4{
        padding-left: 24px;
        font-size: 24px;
        padding-top: 43px;
        margin-bottom: 20px;
    }
    .btn{
        width: 100px;
        height: 30px;
        border: 1px solid #fff;
        font-size: 16px;
        text-align: center;
        line-height: 30px;
        margin-left: 20px;
    }
    &:nth-child(1){
         background-image: url("../../assets/images/home/integral-01.png");
    }
    &:nth-child(2){
         background-image: url("../../assets/images/home/integral-02.png");
    }
    &:nth-child(3){
         background-image: url("../../assets/images/home/integral-03.png");
    }
    &:nth-child(4){
         background-image: url("../../assets/images/home/integral-04.png");
    }
  }
}
</style>

